package day2018_lab02.test05;

import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        Cuboid s1= new Cuboid();
        System.out.println("输入长宽高：");
        Scanner sc= new Scanner(System.in);
        int length1 = sc.nextInt();
        s1.setLength(length1);
        int wide1= sc.nextInt();
        s1.setWide(wide1);
        int higt1= sc.nextInt();
        s1.setHigh(higt1);

        System.out.println(s1.volume());
    }
}
